﻿<phone:PhoneApplicationPage 
    x:Class="FeatureOverview.Features.Sensors.Gps"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d" d:DesignHeight="768" d:DesignWidth="480"
    shell:SystemTray.IsVisible="True"
    xmlns:my="clr-namespace:Microsoft.Phone.Controls.Maps;assembly=Microsoft.Phone.Controls.Maps">

    <!--LayoutRoot contains the root grid where all other page content is placed-->
    <!--ContentPanel - place additional content here-->
	<Grid x:Name="ContentGrid">
		<my:Map
			Height="Auto"
			x:Name="_map"
			VerticalAlignment="Stretch" 
			HorizontalAlignment="Stretch"/>
		<Grid Background="#7F000000" VerticalAlignment="Top" >
			<StackPanel Orientation="Vertical" HorizontalAlignment="Left" d:LayoutOverrides="Height">
				<StackPanel Orientation="Horizontal">
					<TextBlock
						Text="Status" />
					<TextBlock
						x:Name="_status"
						Text="???"/>
				</StackPanel>
				<StackPanel Orientation="Horizontal">
					<TextBlock
						Text="Longitude" />
					<TextBlock
						x:Name="_longitude" 
						Text="???"/>
				</StackPanel>
				<StackPanel Orientation="Horizontal">
					<TextBlock
						Text="Latitude" />
					<TextBlock
						x:Name="_latitude"
						Text="???" />
				</StackPanel>
				<StackPanel Orientation="Horizontal">
					<TextBlock
						Text="Altitude" />
					<TextBlock
						x:Name="_altitude"
						Text="???" />
				</StackPanel>
			</StackPanel>
			<StackPanel HorizontalAlignment="Right" d:LayoutOverrides="Height">
				<Button
					Content="Sensor On"
					x:Name="_on"
					Click="_on_Click" />
				<Button
					Content="Sensor Off"
					x:Name="_off"
					Click="_off_Click" />
                <Button
                    Content="Switch View"
                    x:Name="_switchView"
                    Click="_switchView_Click" />
                
			</StackPanel>
		</Grid>

		<!--LayoutRoot contains the root grid where all other page content is placed-->

	</Grid>

</phone:PhoneApplicationPage>
